package com.liveneo.adapter.base.mapper;

import com.liveneo.adapter.base.entity.PrpmMobilePushCid;
import com.liveneo.adapter.base.entity.PrpmMobilePushCidExample;
import com.liveneo.adapter.base.support.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 个推手机关系表 映射器的接口
 * 依赖配置文件：PrpmMobilePushCidMapper.xml
 * 
 * @author fucy
 * @since 2016-06-05
 */
public interface PrpmMobilePushCidMapper extends BaseMapper<PrpmMobilePushCid> {
    int countByExample(PrpmMobilePushCidExample example);

    int deleteByExample(PrpmMobilePushCidExample example);

    List<PrpmMobilePushCid> selectByExample(PrpmMobilePushCidExample example);

    int updateByExampleSelective(@Param("record") PrpmMobilePushCid record, @Param("example") PrpmMobilePushCidExample example);

    int updateByExample(@Param("record") PrpmMobilePushCid record, @Param("example") PrpmMobilePushCidExample example);

    List<PrpmMobilePushCid> selectByClientId(String imei);

    void deleteByClientIdAndMobile(String imei, String phoneNo);

    void deleteByPhoneNo(String phoneNo);
}